package icu.qx.pro.domain.pbs;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 生产单元对象 pbs_work_cell
 *
 * @author yong
 * @date 2024-06-18
 */
public class PbsWorkCell extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 生产单元code
     */
    private String workCellCode;

    /**
     * 生产单元类型codework_ct_code
     */
    @Excel(name = "生产单元类型codework_ct_code")
    private String workCtCode;

    /**
     * 父id
     */
    @Excel(name = "父id")
    private String workCellFid;

    /**
     * 单元名称
     */
    @Excel(name = "单元名称")
    private String workCellName;

    /**
     * 单元地址
     */
    @Excel(name = "单元地址")
    private String workCellAddress;

    /**
     * 状态 0禁用 1启用
     */
    @Excel(name = "状态 0禁用 1启用")
    private String workCellStatus;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String workCellDesc;

    /**
     * 负责人
     */
    @Excel(name = "负责人")
    private String workCellPeo;

    public void setWorkCellCode(String workCellCode) {
        this.workCellCode = workCellCode;
    }

    public String getWorkCellCode() {
        return workCellCode;
    }

    public void setWorkCtCode(String workCtCode) {
        this.workCtCode = workCtCode;
    }

    public String getWorkCtCode() {
        return workCtCode;
    }

    public void setWorkCellFid(String workCellFid) {
        this.workCellFid = workCellFid;
    }

    public String getWorkCellFid() {
        return workCellFid;
    }

    public void setWorkCellName(String workCellName) {
        this.workCellName = workCellName;
    }

    public String getWorkCellName() {
        return workCellName;
    }

    public void setWorkCellAddress(String workCellAddress) {
        this.workCellAddress = workCellAddress;
    }

    public String getWorkCellAddress() {
        return workCellAddress;
    }

    public void setWorkCellStatus(String workCellStatus) {
        this.workCellStatus = workCellStatus;
    }

    public String getWorkCellStatus() {
        return workCellStatus;
    }

    public void setWorkCellDesc(String workCellDesc) {
        this.workCellDesc = workCellDesc;
    }

    public String getWorkCellDesc() {
        return workCellDesc;
    }

    public String getWorkCellPeo() {
        return workCellPeo;
    }

    public void setWorkCellPeo(String workCellPeo) {
        this.workCellPeo = workCellPeo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("workCellCode", getWorkCellCode())
                .append("workCtCode", getWorkCtCode())
                .append("workCellFid", getWorkCellFid())
                .append("workCellName", getWorkCellName())
                .append("workCellAddress", getWorkCellAddress())
                .append("workCellStatus", getWorkCellStatus())
                .append("workCellDesc", getWorkCellDesc())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("workCellPeo", getWorkCellPeo())
                .toString();
    }
}
